package com.fy.login.internal;

import com.fy.login.BaseMetadata;

import javax.security.auth.callback.Callback;

/**
 * @author zhufeifei 2022/8/22
 **/

public class MetadataCallback<T extends BaseMetadata> implements Callback {
    private T metadata;

    public MetadataCallback() {

    }

    public void setMetadata(T metadata) {
        this.metadata = metadata;
    }

    public T getMetadata() {
        return this.metadata;
    }
}
